/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package presentacion.models;

import javax.swing.table.DefaultTableModel;

/**
 *
 * @author KOFMASTER
 */
public class DefaultTableModelImpl extends DefaultTableModel {

        public DefaultTableModelImpl(Object[][] arg0, Object[] arg1) {
            super(arg0, arg1);
        }

        @Override
        public boolean isCellEditable(int rowIndex, int columnIndex) {
        if (columnIndex >= 2)
          return true;
       return false;
        }

    @Override
     public Class getColumnClass(int columna)
   {
      if (columna == 0) return Object.class;
      if (columna >= 2) return Boolean.class;
      return Object.class;
   }
    }
